<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
	<style type="text/css">
		body, html {width: 100%;height: 100%; margin:0;font-family:"微软雅黑";}
		#l-map{height:300px;width:100%;}
		#r-result,#r-result table{width:100%;}
	</style>
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=g0EGHiZVlG52nvXSmZsozaQVERtS9dPh"></script>
	<title>驾车导航的结果面板</title>
</head>
<body>
	<div id="l-map"></div>
	<div id="r-result"></div>
	<div ng-include="sys_html('_menu')"></div>
</body>
</html>
<script type="text/javascript">
	// 百度地图API功能
window.HOST_TYPE = "2"; window.BMap_loadScriptTime = (new Date).getTime();
require(['map'], function(BMap){
	var map = new BMap.Map("l-map");
	if(scope.pagedata.item.city != null){
	var city = scope.pagedata.item.city;
	}else{
	var city = "北京";
	}
	map.centerAndZoom(city,12); 
	var transit = new BMap.DrivingRoute(map, {renderOptions: {map: map, panel: "r-result", autoViewport: true}});
	transit.search(scope.pagedata.order.start_seat,scope.pagedata.order.dest_seat);
	} 
	);
</script>